Clean up -g in CFLAGS.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 6 Feb 2006 15:32:23 +0000 (16:32 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 6 Feb 2006 15:32:23 +0000 (16:32 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/Rules.mk

index a0daaaca8f38b751506e24fa5f84659ca43689fb..25478ec43411afb6bf09c71f79e1ee636062ad4e 100644 (file)
@@ -1,3 +1,4 @@
+
 #
 # If you change any of these configuration options then you must
 # 'make clean' before rebuilding.
@@ -44,20 +45,19 @@ ALL_OBJS += $(BASEDIR)/arch/$(TARGET_ARCH)/arch.o
 
 include $(BASEDIR)/arch/$(TARGET_ARCH)/Rules.mk
 
+CFLAGS += -g
+
 ifneq ($(debug),y)
 CFLAGS += -DNDEBUG
 ifeq ($(verbose),y)
 CFLAGS += -DVERBOSE
 endif
 else
-CFLAGS += -g -DVERBOSE
+CFLAGS += -DVERBOSE
 endif
 
-# There is no real reason to compile without it
-CFLAGS += -g
-
 ifeq ($(crash_debug),y)
-CFLAGS += -g -DCRASH_DEBUG
+CFLAGS += -DCRASH_DEBUG
 endif
 
 ifeq ($(perfc),y)